package com.example.demo.quartz.h3c;
// Generated 2018-1-24 10:54:48 by Hibernate Tools 4.3.5.Final

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


import java.util.Date;

/**********************************************************************
 * 定时任务实体类 <br/>
 * SysTimedTask.java <br/>
 *
 * H3C所有，<br/>
 * 受到法律的保护，任何公司或个人，未经授权不得擅自拷贝。<br/>
 *
 * @copyright Copyright: 2015-2020
 * @author wfw2392 <br/>
 * @create-time 2018年5月8日 下午4:10:07
 * @revision $Id: *
 **********************************************************************
 */
@TableName("sys_timed_task")
public class SysTimedTask {
	/** serialVersionUID */
	private static final long serialVersionUID = 8961615633219462826L;

	@TableId(value = "id",type = IdType.UUID)
	private String id;
	@TableField("job_name")
	private String jobName;
	@TableField("job_group")
	private String jobGroup;
	@TableField("description")
	private String description;
	@TableField("cron")
	private String cron;
	@TableField("class_name")
	private String className;
	@TableField("is_active")
	private Boolean active;
	@TableField("is_start")
	private Boolean start;
	@TableField("owner")
	private String owner;
	@TableField("create_date")
	private Date createDate;
	@TableField("modified_date")
	private Date modifiedDate;

	public SysTimedTask() {
	}

	public SysTimedTask(String id, String jobName, String jobGroup, String cron, String className, Boolean active,
                        Boolean start, Date createDate, Date modifiedDate) {
		this.id = id;
		this.jobName = jobName;
		this.jobGroup = jobGroup;
		this.cron = cron;
		this.className = className;
		this.active = active;
		this.start = start;
		this.createDate = createDate;
		this.modifiedDate = modifiedDate;
	}

	public SysTimedTask(String id, String jobName, String jobGroup, String description, String cron, String className,
                        Boolean active, Boolean start, String owner, Date createDate, Date modifiedDate) {
		this.id = id;
		this.jobName = jobName;
		this.jobGroup = jobGroup;
		this.description = description;
		this.cron = cron;
		this.className = className;
		this.active = active;
		this.start = start;
		this.owner = owner;
		this.createDate = createDate;
		this.modifiedDate = modifiedDate;
	}

	public String getId() {
		return id;
	}

	public SysTimedTask setId(String id) {
		this.id = id;
		return this;
	}

	public String getJobName() {
		return jobName;
	}

	public SysTimedTask setJobName(String jobName) {
		this.jobName = jobName;
		return this;
	}

	public String getJobGroup() {
		return jobGroup;
	}

	public SysTimedTask setJobGroup(String jobGroup) {
		this.jobGroup = jobGroup;
		return this;
	}

	public String getDescription() {
		return description;
	}

	public SysTimedTask setDescription(String description) {
		this.description = description;
		return this;
	}

	public String getCron() {
		return cron;
	}

	public SysTimedTask setCron(String cron) {
		this.cron = cron;
		return this;
	}

	public String getClassName() {
		return className;
	}

	public SysTimedTask setClassName(String className) {
		this.className = className;
		return this;
	}

	public Boolean getActive() {
		return active;
	}

	public SysTimedTask setActive(Boolean active) {
		this.active = active;
		return this;
	}

	public Boolean getStart() {
		return start;
	}

	public SysTimedTask setStart(Boolean start) {
		this.start = start;
		return this;
	}

	public String getOwner() {
		return owner;
	}

	public SysTimedTask setOwner(String owner) {
		this.owner = owner;
		return this;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public SysTimedTask setCreateDate(Date createDate) {
		this.createDate = createDate;
		return this;
	}

	public Date getModifiedDate() {
		return modifiedDate;
	}

	public SysTimedTask setModifiedDate(Date modifiedDate) {
		this.modifiedDate = modifiedDate;
		return this;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("SysTimedTask{");
		sb.append("id='").append(id).append('\'');
		sb.append(", jobName='").append(jobName).append('\'');
		sb.append(", jobGroup='").append(jobGroup).append('\'');
		sb.append(", description='").append(description).append('\'');
		sb.append(", cron='").append(cron).append('\'');
		sb.append(", className='").append(className).append('\'');
		sb.append(", active=").append(active);
		sb.append(", start=").append(start);
		sb.append(", owner='").append(owner).append('\'');
		sb.append(", createDate=").append(createDate);
		sb.append(", modifiedDate=").append(modifiedDate);
		sb.append('}');
		return sb.toString();
	}
}
